package cn.wolfcode.service;

import cn.wolfcode.domain.Consumption;
import cn.wolfcode.domain.ConsumptionItem;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IConsumptionService {
    void delete(Long id);

    void save(Consumption consumption);

    Consumption get(Long id);

    List<Consumption> listAll();

    void update(Consumption consumption);

    PageInfo<Consumption> query(QueryObject qo);

    Consumption save(Long appointmentId);


}
